<?php


namespace app\api\service;


use app\api\model\DistributConfig;

class DistributeConfig
{
    /**
     * 添加分销全局配置信息
     * @param $data
     * @return DistributConfig
     */
    public function addData($data,$t_id){
        $data['t_id'] = $t_id;
      $result = DistributConfig::createData($data);
      return $result;
    }
}